<template>
  <div id="app">
    <div class="main">
      <h1>这是h1</h1>
      <p>123456</p>
    </div>
  </div>
</template>
<style scoped lang="stylus">
@import '~@/assets/var.styl';
.main{
  background: red
  h1{
    color: blue
  }  
  P{
    background: $bg
    color: $colors
  }
}

</style>